package com.ruoyi.medical.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.medical.domain.MeiomsWorkOrderStatus;

/**
 * 工单状态Mapper接口
 * 
 * @author ruoyi
 * @date 2025-12-03
 */
public interface MeiomsWorkOrderStatusMapper extends BaseMapper<MeiomsWorkOrderStatus>
{
    /**
     * 查询工单状态
     * 
     * @param statusId 工单状态主键
     * @return 工单状态
     */
    public MeiomsWorkOrderStatus selectMeiomsWorkOrderStatusByStatusId(Long statusId);

    /**
     * 通过状态编码查询工单状态
     * 
     * @param statusCode 状态编码
     * @return 工单状态
     */
    public MeiomsWorkOrderStatus selectMeiomsWorkOrderStatusByStatusCode(String statusCode);
}
